package a01;
/**
 * @author Sven Eric Panitz
 */
public class PaintableOval extends SimpleOval

implements Paintable {

	private static final long serialVersionUID = 1L;

	public PaintableOval(double width, double height, double x, double y) {
		super(width, height, x, y);
	}

	public void paintTo(java.awt.Graphics g) {
		g.fillOval((int) pos.x, (int) pos.y, (int) width, (int) height);
	}
}
